package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.commit.R;
import com.itheima.dto.SetmealDto;
import com.itheima.pojo.Setmeal;
import com.itheima.pojo.SetmealDish;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    R<String> add(SetmealDto setmealDto);
    R<IPage> selectAll(Integer page , Integer pageSize, String name);
    R<String> delete(Long[] ids);
    R<String> upda(Integer status,Long[] ids);
    R<SetmealDto> get(Long id);
    R<String> update(SetmealDto setmealDto);
    R<List<Setmeal>> list(Setmeal setmeal);
    R<List<Setmeal>> dish(Long id);
}
